package com.woniuxy.factory.mapper;

import com.woniuxy.factory.entity.Process;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProcessMapper {

    List<Process> selectProcessAll(@Param("process") Process process,@Param("page") int page, @Param("limit") int limit);

    int selectProcessCounts(@Param("process") Process process);

    void insertProcess(Process p);

    Process selectProcessById(String pssId);

    void deleteProcessById(int id);

    void updateProcess(Process process);

    void deleteProcessByIds(int[] pid);
}
